#导入模块
import requests
#导入json
import json
#确定网址
for p in range (1,10):
    print(f'获取第{p}页数据')
    url=f'http://lab.waterlabel.org.cn:93/prod-api/ruoyi-wlab/labInfo/outList?pageNum={p}&pageSize=15'
    body=requests.get(url).json()
    body_json=json.dumps(body,indent=4,ensure_ascii=False)
    print(body_json)
#发送请求
